type messagetype = 'success' | 'warning' | undefined

const $message = (message: string, type: messagetype) => {
  ElMessage({
    message: message,
    type,
  })
}


export {
  $message
}
